use std::fs::File;
use std::io;

#[test]
fn p1() {
    println!("start.........");
    let a = p1_c();
    println!("end.........");
    match a {
        Ok(()) => (),
        Err(err) => println!("err :: {err}"),
    }
}

fn p1_c() -> Result<(), io::Error> {
    let f = File::open("Cargo.toml")?;
    println!("{:?}", f);
    Ok(())
}
